fixed wrong error message