remove unnec. code from index.php.