stop locale errors