fixes bug with arrows