bug removal techniques