fix for section references and method to get language