"Undefined variable: callback" notice fix
Merge pull request #1133 from Ruby184/patch-1

"Undefined variable: callback" notice fix