fix typo with constructors