delete target and it subset