Erro no metodo delete