fix NPE when running in test-cloud