correcting code