fixed issues with position bar