Fix Unexpected Store Exception in Windows 10