fixed weird-ass crash that only happens in release