[#50] Fix bug related to edge reading