remove logs. fix default state