clean the dirty bit