another fix for legacy data