bad uri fix