fix error with components causing API failure