fixed image references by creating images