code change to prevent crash in rt-attr.c