replace placeholders with empty string