some more changes to csv object and fixed summary message bug