corrected  typo that was crashing the component