fixes #2. the only limitation is LAYOUT=list works only with ABBRV_TYPE=index.