locations sensor fix