Fixed error message to match spec