bugfixes - corrected call of init
bugfixes - corrected call of init