solve locale problem