fixed bug where flows would not be created if protocol not referenced
elsewhere