Added urldecode to variables