fixed view bug

view wasn't updating right anymore