squashing location bugs