fix missing image issue in migration