fix validation bug when click event on subtask icon is thrown