Fix callback undefined error
v1.1.4