house keeping and removing of warnings