remove bugs from scratch