fix smallint