remove some c++ from batch