disable some vars in dump mode