safeguard non-null for language