add query prefix support to allow for prefix other than xdm