Make cutComponent working