remove the obsolete language attributes