update docs to match code
Typo correction to make this work and match docs