Added missing clear()