minor fixes
configurable pho id cut