Fix a bug for object init, when there is no joinpoint for object