some dable fixes for clearing styles