fix c++ contructor init calls