deleting unuseful styles