fixed some view bugs as a result of #429