Add missing parse_url, fix production crash on init