fix invoke class.constructor twice
fix invoke class.constructor twice