fix current view bug