try to fix location metadata problem