fix crash (locale handling)