fix typo in autovalue sample code