fix path display in prompt