possible fix to windows assert