workaround syntax errors in python files