simplified index.php
solved conficts