fix for demographics and social history returning array