fixes for the view page