bugfix in locations view