log cleanup added