fixed ctor issue