temporary fix for error reporting disabling deprecated