fix _getUint* bugs introduced with getBytes changes