MathHelper fix