direction arrow bug fix