make metadata checking more lenient