fix log window