fix for incorrect param names passed back