Another fix for the url fix of the primary view