wrap para in maybeCallback so it supports both interfaces
Merge pull request #3 from Raynos/github_master

wrap para in maybeCallback so it supports both interfaces