         ->
 
           campaign.increaseGivenAmount (err)->
-            console.error "Couldn't increase given amount:", err  if err?
+            logError "Couldn't increase given amount:", err  if err?
+
             callback null
 
       ]

        ->

          user.fetchOwnAccount (err, myAccount)->
            return console.error err  if err
            # if account not fonud then do nothing and return
            return console.error "Account couldn't found" unless myAccount

            me = myAccount
            queue.next()

        ->

          if me.referralUsed
            return logError "User already get the referrer"

          fetchReferrer me, (err, _referrer)->
            return logError err  if err

            referrer = _referrer
            queue.next()

        ->

          me.update $set: "referralUsed": yes, (err)->
            return logError err if err
            queue.next()

        ->

          confirmRewards referrer, me, (err)->
            return logError err if err
            queue.next()

        ->

          confirmRewards me, referrer, (err)->
            return logError err if err
            queue.next()

      ]
