fixed calculation of 0K xs