bugfix stupid mistake destroying null images.