removing empty image redirect