a line needed to be deleted that reset gt as if shape were square always