fixed a small bug where my images wouldn't appear upon click