getValue() returned just the last value