fix mongodb field declaration from interger to int