fix list in python3