fix leadimage error