a bug fix that is related to the merging & splitting the image