updated log and window size0