Fixing constructor call