cleanup styles and views