throw out error message for inappropriate messge size and number