Removed task_accepted and fixed has_task