fix: should convert id to string manually.
fix: an attribute table that use for error value should not be global variable.