avoid crashes on browsers that don't send language