image size out of memory issies fixed