better record checking for substrates layer