remove the target resources