Clear method changed