fix missing image for media after upload