fix a bug where task is consider part of the department work progress cost