bugfix: variable names, mean of position is computed again