fixed tableformat to be 32-bit compliant