minor view bug fix