bug in sets