Fixed rendering of error views;