fix warning when multiple python files open