Fixed problem with path building.