fix pathbuilder