fixed a small error after the change to EMath