solving problems with restaurar_todo.py