prevent duplicate locations

addresses #35