put path back as it was