another floating point execption fixed