fix a bug in gnf extract with loose phrs