cleaner parse method