Hot fix for setting locale