bugfix in init case