fix crashes with old urls