Deselect all element before serializing