reparing bugs