fixed a little part of the collage algo and the image display