small fix in init