commit errored code