another check for model defined and bump bb commit for some fixes