output_type should not be optional in new_output

and fix bug that this would have revealed