fixing _pagetypes issue for wordress integration of wizard