check dependent headers strictly