path fixes
move to php