esdump erros correction in python3