fix the constructor call