Fix bug in uri