fix regression bug when creating new object