fixes the view files