footer.php bug fix