Fixed the bar orientation