repairing bugs