fix namereplace