Fixes path bug