fix cornering