check_and_add_unknown_inputs put in place for next version