fix pages editor in admin panel