fix ext_training