fix log window size