abandon c++ cast
rename files