locale error fix (hopefully)