removed inreplace, useless