fix generic set