Attempted to fix Windows crash bug without prevail