fix bug of null