fix a recursion bug in ga-component