fix bad uri