Fix a error in get(URL) method resulting to resource downloading problem.