Revert "fix error when the int field is empty"

This reverts commit fc3a985e0183431ad37cb0bbe063b81f0aa39a98.