fixed an IntegerField bug