[Fix]fix size=nil problem