Corrected the code that removes the signature from the url