fix error message when intercepting parameterless value type constructor