fix to stopping criteria of profile likelihood computation