fix typo
new function, _getfirstvalue