clean the master