some cleanup showAsThumb coding