add cleaner() method to clean static variables.