fix tailLog