optimize clean option