fixed setting locale