Fixed error breaking new view.