another attempt at fixing the getter for the url