more debug, trying to fix going off screen, not succeeding