Fixed the issue when first CardComposer initialization throws error