fix case of location.go(-1)
Merge pull request #40 from karynsong/dev

fix case of location.go(-1)