segments bar fix for SDK 7