fixed db int typos