fix broken error message for unconnected ports in applications