remove legacy components