Fix registerBundles