fix error email url params