fixed incorrect callback names in checking if callback is set
Merge pull request #50 from amitayd/fix_callbacks

fixed incorrect callback names in checking if callback is set