fix problem with view in frontend and edit stylesheets