fixed bsPanel in class