fix the null ponit