Replace NULL by 0