fix type typo.

Fixes #2.