another update on QueryString to refine replace for pet