type error in doc