Fixing bug with path separator