added settings in debug mode