fix to image problem