fix error

closes #1