add extra check to prevent crash with Is_Hack_Prevented in sidebar