fix arrow bug