fixed floating bar issue