             payload: balance_log.attribute
           , (err) ->
             throw err if err
-            console.log "[financials] created #{balance_log._id}}"
+            console.log "[financials] created #{balance_log._id}"
             callback()
 
       , ->


          if security_log.type == 'update_setting'
            security_log.type = 'update_preferences'

          token = security_log.attribute.token
          token.type ?= 'full_access'

            account.attribute.plugin.shadowsocks.method = 'aes-256-cfb'

          account.attribute.plugin.bitcoin =
            bitcoin_deposit_address: account.attribute.bitcoin_deposit_address
            bitcoin_secret: account.attribute.bitcoin_secret

          for token in account.tokens
            token.type = 'full_access'
