fix some mised INTEGER to BIGINT conversions