fix spinner get value bug