ensure proper output on failure to provide proper input.