fixes initialization