Change NULL to 0.