fix implementation of with_absolute_references to take url param