fix asSet bug