fixed bug in log rotator