remove meaningless argument that got added recently
remove unused variable
slight logic refactor
Merge pull request #70 from dimagi/foo

minor cleanup