Fix view errors
[skip ci]