fixed missed import and wrong initialization