Fix load check in CompatLoader