small fix in compute model