trying to fix issue with python