fixed typo in comment and default value for $uri