         head.push i
       return head
 
-    results = headUntil results, (el)-> el.success is true
+    results = headUntil results, (el) -> el.success is true
     # we dont need anything older than 5 minutes
-    results = headUntil results, (el)-> ((Date.now() - el.createdAt) / 1000 / 60) > TIME_LIMIT_IN_MIN
+    results = headUntil results, (el) -> ((Date.now() - el.createdAt) / 1000 / 60) > TIME_LIMIT_IN_MIN
     # if items length is lt CHECK_LIMIT return true
     callback results.length < TRY_LIMIT_FOR_BLOCKING
 

          sort        :
            createdAt : -1

        JLog.some { username }, options, (err, results)->
          checkRestrictions err, results, (res)->
            unless res then return callback res
            queue.next()


        required    : no


  @log = (data, callback = -> ) ->

    log = new JLog data
    log.save (err) -> callback err
