repair the bug