deal with the case where model_expression is None