Fix issue #40, missing parameters