Fixed no NULL declaration error