fix createArrow bug, part 2

It should be fixed now.