Fixed issues related to culture setting.