fixed sword bug