add _location input for all components