fix #2571, invalid function entries in doc