fixed constructor call