Replace NULL with 0 to avoid warnings