Load component fix

This fixes the component source code loading after a failure.