Fixed segmentation fault, map_type error and parameter namespace. Running