language select hopefully more robust across babel versions