First thought, sounds like the id field is set to a tiny int (8 bit int, unsigned max of 127).
HTH
Richard