some bug in wrongly removing default edge