replace $ to _