fixed reporting of missing parameters. Fixes #29