fix bug of init tailer