fixed throwing of strings