Fixed a notice with inputSpec.