fix insert issues in pageEdit module