Bugfix for path