fix a mangled corner