fix missed record checking