fix for data formats bug