correct code in document