Fixing uri not working on some configs