idnode: temporary workaround for the static string comparison issue