Fix to support log input without ins plugged in