Code repaired