fix prePersist method on page admin