modify for clip layout program & image IO