opposite corner bug fix