trying to fix python file