replacing store id with actual store tid