incorrect code in doc