fix some issues from processShowingImage.js