Fixed a few Error messages