bugfix for path