fix bug in allResults CGI, using data directory in config file