Fix parms

Fixes #291

Thanks @Zren