finish code correction