bugfix with path