Fixed sanitize location stuff.