fix bugs, program report a error when weather url can not access