Fix wrong task type