run callback where callback not exists

Logical error - run callback where callback not exists.
Merge pull request #2 from wojtekk/patch-1

run callback when callback not exists