cleanup habit controller