fix primitive signed int bug causing problem in catalog load.