fixed type, changed signed int type to plain int, added support for AIBDM messages