fix rowperpage function name change