fix extra param added after pull request #16