refactoring
task creation prohibit on empty