bug fixed url encoded variable for PHP version lesser than 5.3