fixed bug with wrong time for cleaning