catch a null point

catch a null point