protect against no attachment image found