avoid mutating path, so that error will get array
Merge pull request #9 from geemus/first_visit_error_fix

avoid mutating path, so that error will get array