fixed numbers being printed over the screen boundary