fixing missing ctor param