ignoring bad graphs in TwoLayer