changing the order of registries in GlueCode.php