fixed issue where race condition  likely meant data read through log was not correct