fix callbacks in settings.js