Fix bug.

Fix bug when shuffle image.
Fix bug.

Fix bug when shuffle image.