BUG FIXED: Batch was not registered because of wrap function needed input destination