fixed usage of settings object in levels.js