factory for removing topic on frontend