fixed a bit of arrow logic