make rowbatch page flexible