Fix sign error

Fixes #1