updated the method used to generate the signature base string