finished auto replace image path