Cast uri to string
Fixes