fixed incorrect uri in a couple functions