quick fix to handle edges without specific in/out vertices