fix redbar and arrow bugs