fix a spelling bug
merge code from afc163