fixed orden bug in bars