cleaner end compare method