Fixes large error message when images are sent