image replacement fix