fixed wrong var type for integer column types