changed some error messages