fix #3032, bug in immutable constructor with too few args