Remove sm from dispatch listener