remove references to lang_api