fix possible crash with s18i6_func_info() enum