fixed some issued in BBManager