a trivial fix avoiding potential memory leak; removed data directory