fixes issue with legacy data types and new-prevalues