correct mistakes in the config-db.php.erb template file