fixed a turtle graphics bug