add platform check logic on default open