Fix: errorid was dangling from previous implementation