Fixing path bug