Fixed bug where undefined callback is called
Merge pull request #8 from KenanSulayman/patch-1

Fixed bug where undefined callback is called