Map reduce fix for webserver