fixed language binding when using short urls