finally discovered and patched malformed ID bug in regex