replaced pageNum with bageId
replaced pageNum with bageId