constructor fix on some structures