Full url returned instead of just uri