Replace tree char