Removed global variable `callback`