fixed bug where location wouldn't be guessed sometimes