Replace 0 with NULL because set NULL in sturct pointer.