fixed parameter range issues and bool default value, fixes #91 and #92