need to fix the structure of conf, since it change to conf and type, is_train did not get set properly