fix crash when ep->active is NULL