fix tool for generating URI table