fix get cur locale
fix get cur locale