error message types adjusted