make sure result is set