consistency funstion calculation corrections