fix null value

fix #11