fix arrow bug
Merge pull request #1857 from lordjone/arrow

fix createArrow bug, part 2