Fixed function error message on master