polishing and removing bugs