recordcount fix