fix constness of some char*