solve an issue in locale