view bug fix