fix directory change mishap