location fix and stuff