Bugfix changing directory