fix for Connect dropping flatten from utils. Use fixed version connect