Removes unwanted chars in turtle module