fix horrendous evaluation error (thx @cboursnell)