fix flash message on task page