fix various minor issues with new meta file format