fixes type on documentation