bugfix: missing LOCALMODE