typo in assigning values, fixes #9597

Signed-off-by: Werner Macho <werner.macho@gmail.com>