first basic config for RBB + several fixes