fixed the view files