remove extra placeholders