View bug fix