function argument definition should not have global variable
Merge branch 'master' of https://github.com/s3db/s3db