Fixing family variant loading bug