fix replace filename