catch in pmap and has_exported_functions