Modulate correction function