bars working correctly