correct listbox label
correct if statement so it creates correct # of measurements