solving problem with finding locale