fixed type size constants in database