make sure bar properteis are initiated