fix exception CreateCollage method