fix list out of range bug by initializing bars
Merge remote-tracking branch 'origin/master'