fix primitiveNewMethod