missing function param after text method
fixes #7270