change numPage parameter in theliaLoop by limit