fix some frontend bugs of task module