remove log and set default