fix to image overflow