preformance fix for placeholders