fix for stream.url_for in the case env.lang is None