moved try/catch to test for get_component exception