allow self loops in the GUI