ssi.php bug fix