fix prettyLib path.expand