cleaning and warnings