fixed bug botao registar