fix $log.info(response) to be $log.info(tasks)