solving prevId/nextId issue on moment page

prevId insert error : to solve