fixed arrow bug