fix pagetype by id only