Fixed no defines nulltype error