fix CSS and db