fix subtask view disappearing on page refresh