corrected index.php for pagoda