correct some errors of weatherapi2.php