fixes initialization bug
fixes initialization bug