cleaner platform detection