split path logic in page creation form