fixed crash on empty keywords, fixed subtasks bug