fix bootstrap panel code