made the image null instead of not null