fixes small edge location issue