disabling debug mode