added decode url string method