fix for wrong divend