fixed replace of dollar sign