fix style location for view and page