fix wrong count new records