changed some files for view pages