Fix build errors

Just tried your package, got build errors about the Params fields... here is the fix.