fix arrow's bug