fixed naming errors
setting bar positions