Fixed bar issues

i did
Merge pull request #512 from shaitanelnifi/master

Fixed bar issues