resolved issue of images been placed into the wrong cell