fixed error in langmanager