fix logging/get window open
submod