remove extra copy of image.c