null bug in Location without all information