Corrigindo as portas