fix check thumb and image