fix issue #2 (params can not be omitted)