correction for rend formula