fixed constructor typo