Fixed right bar bug