small bugfixes for empty DB (eg. no current lan)