fix bug where bottom left was top left