fix thank you page retrieval and hst:templates