fix dry snippet