puts uri before using it for debugging