remove image path replacing