fix read record deleted flag