fix bug for rate/down in model