Fixing error messages in utility file.