fixed params permit bug in task controller