changed vr_library creation