fixed bug in funbar