Bug fix: crash when integration is running