corrected two exception messages to be more understandable