fix URI rules