fixed context for component reset