working fixed io in tailall command