changed error message: parameter is not needed