was setting the sender key to the wrong var