fixed error code extraction on python3