fixed a path print bug