fix warnings
rename mb class
use implicit run/before_build