cleaning minor bugs