home.php bug fix