fix nulls in realtime persist