correcting bugs