Fix managepage for dynamic pages