fix handleremove for multiple masks