Fixed missing error messages