fixed output style of results and mapresults