fixed small bug with first image