fix path changing prompt