fix clear (need more test ?)