Update index.php

Major interface bug fixed.