fix some bug in story-tasks edition