bugfix locale creation