refined some edges