removed unused len var in unsubscribe