fix location preference