bug with UShort going negative resolved