remove get params in case of a failure