removed badly formed fmod formula