fixed bug. task controller was expecting nil. but params sent 0 when not_completed.