fix for resultTo