core: proper error with dup data constructors