edit view bug fix