Fixed custompages admin controller