fix repl bug affected to new connected slave