fixed ED calc some