fixed pages save issue