correct code error