fix comparison of incorrect variable in van essen projection