nullptr to NULL for compatibility