Fixed missing error message