repair mistake