solving a problem with restaurar_todo.py