fix node failure on command error