remove from target instead of document