Bug the first: uri wasn't a variable.