Fixed the missing bar bug