repair bug