fixed issue with mixed uri cases