Fixed  not using . Fixed the  arg not being passed in to the edge finding function.