added .path back to line 329, as removing it did not seem to work