fix null case disposer