Bugfix (reading edge's heads)