Language bugfix

Updated snippet to fix language handling bug introduced in previous
version