catch component creation error