fixes #118 I stopped selecting the first measurement every time, which seems to solve the problem