fixed issue that was causing data files to get overwritten