Fix computation errors.