fix parameter handling
remove bad dereferencing
Merge pull request #1 from mitchellwrosen/integer

fix parameter handling