pep 8 cleaning and css checkbox for flat ui