fix & factor url view