fixing cleanup action