bug fix

bearins calculations and arrow display fixed