fixes #3010 - use the correct helper function name