fix set empty location value