real bugfix for dollar signs in replacement variables in mysql class