added missing sanitize for path