fix callbacks.js