fixes #36: Rgg fails to replace more than one domain placeholders