replcae dynamic blocks with placeholders