fixed the enum task type