tirando bugs na tela, alterando as classes index.php e main.php