added support to remove multiple paths