removed explicit bar number setting