really ulgy workaround to avoid crash with shared url, but really it's late and i want to sleep, future me will clean that shit'