Bug due to misunderstood fmod fixed