fix bug with partially working multiremove tool