correct logic on error fallthrough