small fixes on constructors