coding and repair bug