moved DEBUG to local settings.