Fixed python mode submodule