fixes for array_map functions to use new namespaced functions