image writer fix