fixes type in doc